package entity;

/**
 * @author wuyunbin
 */
public class Sms {
    private String sender;
    private String phone;
    private String code;
    private String flag;
    private String msg;


    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Sms() {
    }

    public Sms(String sender, String phone, String flag) {
        this.sender = sender;
        this.phone = phone;
        this.flag = flag;
    }

    public Sms(String sender, String phone, String code, String flag) {
        this.sender = sender;
        this.phone = phone;
        this.code = code;
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "Sms{" +
                "sender='" + sender + '\'' +
                ", phone='" + phone + '\'' +
                ", code='" + code + '\'' +
                ", flag='" + flag + '\'' +
                ", msg='" + msg + '\'' +
                '}';
    }
}
